package com.earthchen.controller;

import com.earthchen.log.annotation.BussinessLog;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author earthchen
 * @date 2018/8/24
 **/
@RestController
public class TestController {

    @BussinessLog(type = "操作",value = "进行测试")
    @RequestMapping("/test")
    public String testLog(){
        return "test";
    }
}
